/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.entity.order;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 订单售后Entity
 * @author 罗天文
 * @version 2018-08-22
 */
public class HkShopUserOrderAfterLog extends DataEntity<HkShopUserOrderAfterLog> {
	
	private static final long serialVersionUID = 1L;
	private HkShopUserOrderAfter after;		// 售后id 父类
	private String name;		// 名称
	private String type;		// 类型
	
	public HkShopUserOrderAfterLog() {
		super();
	}

	public HkShopUserOrderAfterLog(String id){
		super(id);
	}

	public HkShopUserOrderAfterLog(HkShopUserOrderAfter after){
		this.after = after;
	}

	@Length(min=0, max=32, message="售后id长度必须介于 0 和 32 之间")
	public HkShopUserOrderAfter getAfter() {
		return after;
	}

	public void setAfter(HkShopUserOrderAfter after) {
		this.after = after;
	}
	
	@Length(min=0, max=50, message="名称长度必须介于 0 和 50 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=1, message="类型长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}